package com.quanyan.riding.mapper;

import com.quanyan.riding.entity.db.TbRunRideLevel;
import com.quanyan.riding.entity.db.TbRunRideLevelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbRideLevelMapper {
    int countByExample(TbRunRideLevelExample example);

    int deleteByExample(TbRunRideLevelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbRunRideLevel record);

    int insertSelective(TbRunRideLevel record);

    List<TbRunRideLevel> selectByExample(TbRunRideLevelExample example);

    TbRunRideLevel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbRunRideLevel record, @Param("example") TbRunRideLevelExample example);

    int updateByExample(@Param("record") TbRunRideLevel record, @Param("example") TbRunRideLevelExample example);

    int updateByPrimaryKeySelective(TbRunRideLevel record);

    int updateByPrimaryKey(TbRunRideLevel record);
}